Name :And operations
Symbol:AND
Illustrate:
Perform operands with operations. If all inputs are 1, then the result bit is also 1, otherwise it is 0.
Image:
Parameter:
| Parameter | Statement | Type | Description |
|---|---|---|---|
| IN1 | Input | BOOL | The first input value |
| IN2 | Input | BOOL | Number of characters |
| OUT | Output | BOOL | The result of the calculation |
Example:
LD:
ST:
Interpretation:
| parameter | operand | value |
|---|---|---|
| IN1 | TagIn1 | input:TRUE |
| IN2 | TagIn2 | input:FALSE |
| OUT | TagOut | output:FALSE |
As long as one input is 0, the result is 0.